<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="https://cdn.bootcss.com/vue/2.5.17-beta.0/vue.min.js"></script>
	</head>

	<body>
		<div id="app">
			<h1>{{message}}</h1>
			<input type="text" v-model="message" />
			<!-- 调用获取函数的返回值 -->
			<h1>{{hello()}}</h1>
		</div>
		<script>
			var vm = new Vue({
				el: "#app",
				data: {
					message: "消息"
				},
				methods: {
					hello() {
						console.log("????")
						return "world";
					}
				}
			})
		</script>
	</body>

</html>